package com.itheima.dto;

import com.itheima.pojo.TbCourse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("课程分页条件查询Dto")
@Data
public class CourseDto extends TbCourse {
    @ApiModelProperty("当前页码")
    private Integer pageNum;
    @ApiModelProperty("每页大小")
    private Integer pageSize;
    @ApiModelProperty("开始日期--搜索条件")
    private Date beginCreateTime;
    @ApiModelProperty("结束日期--搜索条件")
    private Date endCreateTime;
}
